package com.maven.front.mapper;


import com.maven.front.bean.EduCourse;
import com.maven.front.bean.EduWebsiteCourseDetail;

import java.util.List;

public interface EduCourseMapper {

    List<EduCourse> select(EduCourse eduCourse);

    int deleteByPrimaryKey(Integer courseId);

    int insert(EduCourse record);

    int insertSelective(EduCourse record);

    EduCourse selectByPrimaryKey(Integer courseId);

    int updateByPrimaryKeySelective(EduCourse record);

    int updateByPrimaryKeyWithBLOBs(EduCourse record);

    int updateByPrimaryKey(EduCourse record);

    public List<EduCourse> getBySubjectId(Integer subjectId);

    public List<EduCourse> freeCourse();

    List<EduCourse> selectRecommendCourse(List<EduWebsiteCourseDetail> list);

    List<EduCourse> freshCourse();

    EduCourse getCourse(EduCourse eduCourse);

    List<EduCourse> getEduCourse(EduCourse eduCourse);

    List<EduCourse> getCourseNum(Integer subjectId);
}